/**
 * 
 */
package travibot.model.units;

import travibot.model.Cost;
import travibot.model.Nationality;
import travibot.model.Unit;


/**
 * @author tajzivit
 *
 */
public abstract class AbstractUnit implements Unit {


    
    private int attack;
    private int defence;
    private int cavalryDefence;
    
    private int speed;
    private int carryingCapacity;
    
    private UnitType unitType;
    private Nationality nationality;
    private Cost cost = new Cost();

    
    public int getAttack() {
    
        return attack;
    }

    
    public void setAttack(int attack) {
    
        this.attack = attack;
    }

    
    public int getCarryingCapacity() {
    
        return carryingCapacity;
    }

    
    public void setCarryingCapacity(int carryingCapacity) {
    
        this.carryingCapacity = carryingCapacity;
    }

    
    public int getCavalryDefence() {
    
        return cavalryDefence;
    }

    
    public void setCavalryDefence(int cavalryDefence) {
    
        this.cavalryDefence = cavalryDefence;
    }

    
    public Cost getCost() {
    
        return cost;
    }

    
    public void setCost(Cost cost) {
    
        this.cost = cost;
    }

    
    public int getDefence() {
    
        return defence;
    }

    
    public void setDefence(int defence) {
    
        this.defence = defence;
    }

    
    public int getSpeed() {
    
        return speed;
    }

    
    public void setSpeed(int speed) {
    
        this.speed = speed;
    }

    

    
    public Nationality getNationality() {
    
        return nationality;
    }


    
    public void setNationality(Nationality nationality) {
    
        this.nationality = nationality;
    }


    
    public UnitType getUnitType() {
    
        return unitType;
    }


    
    public void setUnitType(UnitType unitType) {
    
        this.unitType = unitType;
    }


    public AbstractUnit() {

        super();
    }
    
    
}
